package org.ljy.forum6.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel("站内信(私信)")
public class Message {
    private Long id;

    @ApiModelProperty("发送者用户id")
    private Long postUserId;

    @ApiModelProperty("接收者用户id")
    private Long receiveUserId;

    @ApiModelProperty("私信的内容")
    private String content;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    @ApiModelProperty("发生时间")
    private Date updateTime;

    //关联发送者
    private User postUser;
}